package com.ruanda.feign; /**
 * 商品业务模块调用会员业务模块：feign接口
 */

import com.ruanda.domain.Member;
import com.ruanda.feign.sentinel.ProdMemberSentinel;
import com.ruanda.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "member-service",fallback = ProdMemberSentinel.class)
public interface ProdMemberFeign {
    @GetMapping("p/user/qetMemberListByOpenIds")
    public Result<List<Member>> getMemberListByOpenIds(@RequestParam List<String> openIds);
}